package com.itheima.a01staticdemo01;
public class StudentTest {
    public static void main(String[] args) {
        //static修饰的techername共享
        //类名调用变量
        Student .teacherName="小陈老师";
        Student s1 = new Student("张三",18);
        s1.study();
        s1.show();
        Student s2 = new Student("李四",26);
        s2.study();
        s2.show();
    }
}
